package org.infodavid.common.notifier;

import java.io.Serializable;

import org.joda.time.DateTime;

/**
 * The Interface IAcknowledgment.
 */
public interface IAcknowledgment extends Serializable {

  /**
   * Gets the source command.
   * @return the source
   */
  INotifierCommand getSource();

  /**
   * Gets the date.
   * @return the date
   */
  DateTime getDate();

  /**
   * Gets the content.
   * @return the content
   */
  String getContent();

  /**
   * Gets the error.
   * @return the error
   */
  Throwable getError();

  /**
   * Gets the retry count.
   * @return the retry count
   */
  int getRetryCount();

  /**
   * Sets the retry count.
   * @param value the new retry count
   */
  void setRetryCount(int value);
}
